package com.zhudeshuai.zhudemolist.base;

import android.app.Application;

import com.facebook.stetho.Stetho;
import com.zhu.zhuCore.BaseApplication;

/**
 * Created by zhudeshuai on 16/3/6.
 */
public class DemoApplication extends BaseApplication {

    private static Application sInstance;

    @Override
    public void onCreate() {
        super.onCreate();
        sInstance = this;
        //添加google浏览器插件工具
        Stetho.initialize(
                Stetho.newInitializerBuilder(this)
                        .enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
                        .enableWebKitInspector(Stetho.defaultInspectorModulesProvider(this))
                        .build());
    }

    public static Application getApplication() {
        return sInstance;
    }
}
